﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lib472.Model.XmlSet
{
    public class tb_setupT
    {
        private int _pid;
        private string _psetupcode;
        private string _psetupexplain;
        private int? _ptranstypeid;
        private string _piettypes;
        private bool _checked;

        /// <summary>
        /// auto_increment
        /// </summary>
        public int PID
        {
            set { _pid = value; }
            get { return _pid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PSetupCode
        {
            set { _psetupcode = value; }
            get { return _psetupcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PSetupExplain
        {
            set { _psetupexplain = value; }
            get { return _psetupexplain; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int? PTransTypeID
        {
            set { _ptranstypeid = value; }
            get { return _ptranstypeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PIETTypes
        {
            set { _piettypes = value; }
            get { return _piettypes; }
        }

        public bool Checked
        {
            set { _checked = value; }
            get { return _checked; }
        }

        public override string ToString()
        {
            return $"{PSetupCode} [{PSetupExplain}]"; 
        }
    }
}
